package service;

import bean.entity.Book;
import bean.entity.User;

public interface PurchaseService {
	status buy (Book book , User user , int amount);
	
	enum status {
		OK ,
		MoneyNotEnough,
		BookNotEnough,
		BookNotFind,
		UserNotFind,
		UnKownError
	}
}
